from tkinter import*
x=int(input('введите x: '))
y=int(input('введите y: '))
coef=int(input('введите коеф увеличения '))
stor=50
okno=Tk()
stor=stor*coef
if 2*stor +x >500 or 3*stor + y >500:
    exit ('фигура превешает размер')
holse=Canvas(okno, width=500, height=500, bg='white')
holse.create_rectangle(x,y,x+stor,y+stor,fill='blue')
holse.create_rectangle(x,y+stor ,x+stor,y+2*stor,fill='blue')
holse.create_rectangle(x,y+2*stor,x+stor,y+3*stor,fill='blue')
holse.create_rectangle(x+stor,y+stor,x+2*stor,y+2*stor,fill='blue')
holse.pack()
